Total Complexity | 23 |
Dependencies | 9 |
Dependents | 1 |
Total lines | 289 |
Lines of code | 166 |
Logical lines of code | 67 |
Comment lines | 81 |
Methods | 10 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_metric_graph() | 54 | 6 | 19 | |
dispatch_metrics_request() | 52 | 5 | 22 | |
process_metrics_request() | 53 | 4 | 26 | |
register_rest_routes() | 44 | 1 | 58 | |
fetch_metrics_request() | 65 | 2 | 8 | |
handle_metrics_callback_error() | 62 | 1 | 12 | |
handle_metrics_callback_success() | 64 | 1 | 11 | |
__construct() | 79 | 1 | 3 | |
format_metrics_request_response() | 76 | 1 | 4 | |
can_manage_options() | 80 | 1 | 3 |